package com.chen.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

/**
 * @Author: Chen
 * @Date: 2023/11/17  16:32
 */
@ApiModel(description = "用户建议")
@Data
@TableName("user_advice")
public class UserAdvice {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("建议标题")
    private String title;

    @ApiModelProperty("建议内容")
    private String content;

    @ApiModelProperty("建议创建时间")
    private Timestamp createTime;
}
